import requests from "@/utils/request";
import user from "@/store/user";

// 生成-订单(结算页) /member/order/pre
// export const getCheckInfoAPI = () =>requests({url:'/member/order/pre',method:'get'})
export const getCheckInfoAPI = () => requests({url:'/card/select/checkInfo?id='+user.state.userInfo.id,method:'get'})

// 生成订单接口  /member/order  post
export const createOrderAPI = (id) => requests({url:'/order/createOrder?id='+id,method:'get'})
